package com.tpo.jnotes.loader.lib.dialogs;

import javax.swing.JProgressBar;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import com.tpo.jnotes.base.colors.BColors;

public class LProgressBar extends JProgressBar
{

    public LProgressBar()
    {
        setStringPainted( true );
        setBorderPainted( false );
        setMaximum( 100 );
        setMinimum( 0 );
        setBackground( BColors.WHITE_D );
        setForeground( BColors.BLUE_D );
        UIManager.put( "ProgressBar.selectionBackground", BColors.BLUE_D );
        UIManager.put( "ProgressBar.selectionForeground", BColors.WHITE_D );
        SwingUtilities.updateComponentTreeUI( this );

    }

}
